<template>
    <div class="ethan-container-404">
        <img src="./../../../assets/404.jpg" alt="">
        <p>您访问的页面不存在。</p>
        <at-button type="primary" @click="goIndex" hollow>返回首页</at-button>
    </div>
</template>

<script>
    export default {
        methods: {
            goIndex() {
                // this.$router.push({path:"/"})
                window.location.href = 'http://m.ethan.pub/'
            }
        },
    }
</script>

<style lang="scss">
html,body{
    overflow: hidden !important;
}
    .ethan-container-404{
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 100px auto;
        flex-direction: column;
        img{
            width: 800px;
            height: 500px;
        }
        p{
            font-size: 28px;
            margin: 20px 0;
        }
    }
</style>